<!-- This comment will put IE 6, 7 and 8 in quirks mode -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>shark::KernelMatrix&lt; InputType, CacheType &gt; Class Template Reference</title>
<script type="text/javaScript" src="search/search.js"></script>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3.0.1/es5/tex-mml-chtml.js"></script>
<script src="../../mlstyle.js"></script>
<link href="../css/besser.css" rel="stylesheet" type="text/css"/>
</head>
<!-- pretty cool: each body gets an id tag which is the basename of the web page  -->
<!--              and allows for page-specific CSS. this is client-side scripted, -->
<!--              so the id will not yet show up in the served source code -->
<script type="text/javascript">
    jQuery(document).ready(function () {
        var url = jQuery(location).attr('href');
        var pname = url.substr(url.lastIndexOf("/")+1, url.lastIndexOf(".")-url.lastIndexOf("/")-1);
        jQuery('#this_url').html('<strong>' + pname + '</strong>');
        jQuery('body').attr('id', pname);
    });
</script>
<body>
    <div id="shark_old">
        <div id="wrap">
            <div id="header">
                <div id="site-name"><a href="../../sphinx_pages/build/html/index.html">Shark machine learning library</a></div>
                <ul id="nav">
                    <li >
                        <a href="../../sphinx_pages/build/html/rest_sources/installation.html">Installation</a>
                    </li>
		    <li >
                        <a href="../../sphinx_pages/build/html/rest_sources/tutorials/tutorials.html">Tutorials</a>
                    </li>
		    <li >
                        <a href="../../sphinx_pages/build/html/rest_sources/benchmark.html">Benchmarks</a>
                    </li>
                    <li class="active">
                        <a href="classes.html">Documentation</a>
                        <ul>
                            <li class="first"></li>
                            <li><a href="../../sphinx_pages/build/html/rest_sources/quickref/quickref.html">Quick references</a></li>
                            <li><a href="classes.html">Class list</a></li>
                            <li class="last"><a href="group__shark__globals.html">Global functions</a></li>
                        </ul>
                    </li>
                </ul>
            </div>
        </div>
    </div>
<div id="doxywrapper">
<!--
    <div id="global_doxytitle">Doxygen<br>Documentation:</div>
-->
    <div id="navrow_wrapper">
<!-- Generated by Doxygen 1.9.8 -->
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceshark.html">shark</a></li><li class="navelem"><a class="el" href="classshark_1_1_kernel_matrix.html">KernelMatrix</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="classshark_1_1_kernel_matrix-members.html">List of all members</a> &#124;
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-types">Protected Types</a> &#124;
<a href="#pro-attribs">Protected Attributes</a>  </div>
  <div class="headertitle"><div class="title">shark::KernelMatrix&lt; InputType, CacheType &gt; Class Template Reference</div></div>
</div><!--header-->
<div class="contents">

<p>Kernel Gram matrix.  
 <a href="classshark_1_1_kernel_matrix.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_kernel_matrix_8h_source.html">shark/LinAlg/KernelMatrix.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-types" name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:ac4a1b86d81dc86652e3226b7d0a79f55" id="r_ac4a1b86d81dc86652e3226b7d0a79f55"><td class="memItemLeft" align="right" valign="top">typedef CacheType&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_kernel_matrix.html#ac4a1b86d81dc86652e3226b7d0a79f55">QpFloatType</a></td></tr>
<tr class="separator:ac4a1b86d81dc86652e3226b7d0a79f55"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:aa486dd918e3c6d34246eeacd348cba93" id="r_aa486dd918e3c6d34246eeacd348cba93"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_kernel_matrix.html#aa486dd918e3c6d34246eeacd348cba93">KernelMatrix</a> (<a class="el" href="classshark_1_1_abstract_kernel_function.html">AbstractKernelFunction</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt; const &amp;kernelfunction, <a class="el" href="classshark_1_1_data.html">Data</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt; const &amp;data)</td></tr>
<tr class="separator:aa486dd918e3c6d34246eeacd348cba93"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af9ce0968195cf9ca49c7e77ba7c5d3c6" id="r_af9ce0968195cf9ca49c7e77ba7c5d3c6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classshark_1_1_kernel_matrix.html#ac4a1b86d81dc86652e3226b7d0a79f55">QpFloatType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_kernel_matrix.html#af9ce0968195cf9ca49c7e77ba7c5d3c6">operator()</a> (std::size_t i, std::size_t j) const</td></tr>
<tr class="memdesc:af9ce0968195cf9ca49c7e77ba7c5d3c6"><td class="mdescLeft">&#160;</td><td class="mdescRight">return a single matrix entry  <br /></td></tr>
<tr class="separator:af9ce0968195cf9ca49c7e77ba7c5d3c6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac3cfe068368969d7cdc5a84e64edf416" id="r_ac3cfe068368969d7cdc5a84e64edf416"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classshark_1_1_kernel_matrix.html#ac4a1b86d81dc86652e3226b7d0a79f55">QpFloatType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_kernel_matrix.html#ac3cfe068368969d7cdc5a84e64edf416">entry</a> (std::size_t i, std::size_t j) const</td></tr>
<tr class="memdesc:ac3cfe068368969d7cdc5a84e64edf416"><td class="mdescLeft">&#160;</td><td class="mdescRight">return a single matrix entry  <br /></td></tr>
<tr class="separator:ac3cfe068368969d7cdc5a84e64edf416"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3ebcd91ea57f440376d14741e7697c6d" id="r_a3ebcd91ea57f440376d14741e7697c6d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_kernel_matrix.html#a3ebcd91ea57f440376d14741e7697c6d">row</a> (std::size_t i, std::size_t start, std::size_t end, <a class="el" href="classshark_1_1_kernel_matrix.html#ac4a1b86d81dc86652e3226b7d0a79f55">QpFloatType</a> *storage) const</td></tr>
<tr class="memdesc:a3ebcd91ea57f440376d14741e7697c6d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes the i-th row of the kernel matrix.  <br /></td></tr>
<tr class="separator:a3ebcd91ea57f440376d14741e7697c6d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad5365d1a9d11ca1175b6bb35607db6d1" id="r_ad5365d1a9d11ca1175b6bb35607db6d1"><td class="memTemplParams" colspan="2">template&lt;class M &gt; </td></tr>
<tr class="memitem:ad5365d1a9d11ca1175b6bb35607db6d1"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classshark_1_1_kernel_matrix.html#ad5365d1a9d11ca1175b6bb35607db6d1">matrix</a> (blas::matrix_expression&lt; M, blas::cpu_tag &gt; &amp;storage) const</td></tr>
<tr class="memdesc:ad5365d1a9d11ca1175b6bb35607db6d1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes the kernel-matrix.  <br /></td></tr>
<tr class="separator:ad5365d1a9d11ca1175b6bb35607db6d1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a45ad0d3cc5b9ea58069eb93713289015" id="r_a45ad0d3cc5b9ea58069eb93713289015"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_kernel_matrix.html#a45ad0d3cc5b9ea58069eb93713289015">flipColumnsAndRows</a> (std::size_t i, std::size_t j)</td></tr>
<tr class="memdesc:a45ad0d3cc5b9ea58069eb93713289015"><td class="mdescLeft">&#160;</td><td class="mdescRight">swap two variables  <br /></td></tr>
<tr class="separator:a45ad0d3cc5b9ea58069eb93713289015"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad2bb6df532f1e6aa39fa30f6efad5222" id="r_ad2bb6df532f1e6aa39fa30f6efad5222"><td class="memItemLeft" align="right" valign="top">std::size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_kernel_matrix.html#ad2bb6df532f1e6aa39fa30f6efad5222">size</a> () const</td></tr>
<tr class="memdesc:ad2bb6df532f1e6aa39fa30f6efad5222"><td class="mdescLeft">&#160;</td><td class="mdescRight">return the size of the quadratic matrix  <br /></td></tr>
<tr class="separator:ad2bb6df532f1e6aa39fa30f6efad5222"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a834648ff97fe9d3269a8a821299026ee" id="r_a834648ff97fe9d3269a8a821299026ee"><td class="memItemLeft" align="right" valign="top">unsigned long long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_kernel_matrix.html#a834648ff97fe9d3269a8a821299026ee">getAccessCount</a> () const</td></tr>
<tr class="memdesc:a834648ff97fe9d3269a8a821299026ee"><td class="mdescLeft">&#160;</td><td class="mdescRight">query the kernel access counter  <br /></td></tr>
<tr class="separator:a834648ff97fe9d3269a8a821299026ee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad76f1daf43dd80689ad630cab48a111a" id="r_ad76f1daf43dd80689ad630cab48a111a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_kernel_matrix.html#ad76f1daf43dd80689ad630cab48a111a">resetAccessCount</a> ()</td></tr>
<tr class="memdesc:ad76f1daf43dd80689ad630cab48a111a"><td class="mdescLeft">&#160;</td><td class="mdescRight">reset the kernel access counter  <br /></td></tr>
<tr class="separator:ad76f1daf43dd80689ad630cab48a111a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pro-types" name="pro-types"></a>
Protected Types</h2></td></tr>
<tr class="memitem:ab4e409d88bff0f586ad51d92b04efc24" id="r_ab4e409d88bff0f586ad51d92b04efc24"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="structshark_1_1_batch.html">Batch</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt;::const_iterator&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_kernel_matrix.html#ab4e409d88bff0f586ad51d92b04efc24">PointerType</a></td></tr>
<tr class="separator:ab4e409d88bff0f586ad51d92b04efc24"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pro-attribs" name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:a2dfb1fc5283492a93ff13de7109300e2" id="r_a2dfb1fc5283492a93ff13de7109300e2"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classshark_1_1_abstract_kernel_function.html">AbstractKernelFunction</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_kernel_matrix.html#a2dfb1fc5283492a93ff13de7109300e2">kernel</a></td></tr>
<tr class="memdesc:a2dfb1fc5283492a93ff13de7109300e2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Kernel function defining the kernel Gram matrix.  <br /></td></tr>
<tr class="separator:a2dfb1fc5283492a93ff13de7109300e2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a741a640e9f67a6c381c7d298b36ee1b0" id="r_a741a640e9f67a6c381c7d298b36ee1b0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classshark_1_1_data.html">Data</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_kernel_matrix.html#a741a640e9f67a6c381c7d298b36ee1b0">m_data</a></td></tr>
<tr class="separator:a741a640e9f67a6c381c7d298b36ee1b0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5ef24d74bc029e4a66dd456408103dde" id="r_a5ef24d74bc029e4a66dd456408103dde"><td class="memItemLeft" align="right" valign="top">std::vector&lt; <a class="el" href="classshark_1_1_kernel_matrix.html#ab4e409d88bff0f586ad51d92b04efc24">PointerType</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_kernel_matrix.html#a5ef24d74bc029e4a66dd456408103dde">x</a></td></tr>
<tr class="memdesc:a5ef24d74bc029e4a66dd456408103dde"><td class="mdescLeft">&#160;</td><td class="mdescRight">Array of data pointers for kernel evaluations.  <br /></td></tr>
<tr class="separator:a5ef24d74bc029e4a66dd456408103dde"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad16c20b5f5548be63756ff22c3d33926" id="r_ad16c20b5f5548be63756ff22c3d33926"><td class="memItemLeft" align="right" valign="top">unsigned long long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_kernel_matrix.html#ad16c20b5f5548be63756ff22c3d33926">m_accessCounter</a></td></tr>
<tr class="memdesc:ad16c20b5f5548be63756ff22c3d33926"><td class="mdescLeft">&#160;</td><td class="mdescRight">counter for the kernel accesses  <br /></td></tr>
<tr class="separator:ad16c20b5f5548be63756ff22c3d33926"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><div class="compoundTemplParams">template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, class CacheType&gt;<br />
class shark::KernelMatrix&lt; InputType, CacheType &gt;</div><p>Kernel Gram matrix. </p>
<dl class="section user"><dt></dt><dd>The <a class="el" href="classshark_1_1_kernel_matrix.html" title="Kernel Gram matrix.">KernelMatrix</a> is the most prominent type of matrix for quadratic programming. It provides the Gram matrix of a fixed data set with respect to an inner product implicitly defined by a kernel function.</dd></dl>
<dl class="section user"><dt></dt><dd>NOTE: The <a class="el" href="classshark_1_1_kernel_matrix.html" title="Kernel Gram matrix.">KernelMatrix</a> class stores pointers to the data, instead of maintaining a copy of the data. Thus, it implicitly assumes that the dataset is not altered during the lifetime of the <a class="el" href="classshark_1_1_kernel_matrix.html" title="Kernel Gram matrix.">KernelMatrix</a> object. This condition is ensured as long as the class is used via the various SVM-trainers. </dd></dl>

<p class="definition">Definition at line <a class="el" href="_kernel_matrix_8h_source.html#l00071">71</a> of file <a class="el" href="_kernel_matrix_8h_source.html">KernelMatrix.h</a>.</p>
</div><h2 class="groupheader">Member Typedef Documentation</h2>
<a id="ab4e409d88bff0f586ad51d92b04efc24" name="ab4e409d88bff0f586ad51d92b04efc24"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab4e409d88bff0f586ad51d92b04efc24">&#9670;&#160;</a></span>PointerType</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> , class CacheType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="structshark_1_1_batch.html">Batch</a>&lt;<a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>&gt;::const_iterator <a class="el" href="classshark_1_1_kernel_matrix.html">shark::KernelMatrix</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, CacheType &gt;::PointerType</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_kernel_matrix_8h_source.html#l00150">150</a> of file <a class="el" href="_kernel_matrix_8h_source.html">KernelMatrix.h</a>.</p>

</div>
</div>
<a id="ac4a1b86d81dc86652e3226b7d0a79f55" name="ac4a1b86d81dc86652e3226b7d0a79f55"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac4a1b86d81dc86652e3226b7d0a79f55">&#9670;&#160;</a></span>QpFloatType</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> , class CacheType &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef CacheType <a class="el" href="classshark_1_1_kernel_matrix.html">shark::KernelMatrix</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, CacheType &gt;::QpFloatType</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_kernel_matrix_8h_source.html#l00074">74</a> of file <a class="el" href="_kernel_matrix_8h_source.html">KernelMatrix.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="aa486dd918e3c6d34246eeacd348cba93" name="aa486dd918e3c6d34246eeacd348cba93"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa486dd918e3c6d34246eeacd348cba93">&#9670;&#160;</a></span>KernelMatrix()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> , class CacheType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classshark_1_1_kernel_matrix.html">shark::KernelMatrix</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, CacheType &gt;::KernelMatrix </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classshark_1_1_abstract_kernel_function.html">AbstractKernelFunction</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt; const &amp;&#160;</td>
          <td class="paramname"><em>kernelfunction</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classshark_1_1_data.html">Data</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt; const &amp;&#160;</td>
          <td class="paramname"><em>data</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Constructor </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">kernelfunction</td><td>kernel function defining the Gram matrix </td></tr>
    <tr><td class="paramname">data</td><td>data to evaluate the kernel function </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="_kernel_matrix_8h_source.html#l00079">79</a> of file <a class="el" href="_kernel_matrix_8h_source.html">KernelMatrix.h</a>.</p>

<p class="reference">References <a class="el" href="group__shark__globals.html#gad9b0233e3adc882ed94f418f80767b09">shark::Data&lt; Type &gt;::elements()</a>, <a class="el" href="classshark_1_1_kernel_matrix.html#a741a640e9f67a6c381c7d298b36ee1b0">shark::KernelMatrix&lt; InputType, CacheType &gt;::m_data</a>, <a class="el" href="group__shark__globals.html#ga814e8b0028cc90dd2af69805e8f8a04d">shark::Data&lt; Type &gt;::numberOfElements()</a>, and <a class="el" href="classshark_1_1_kernel_matrix.html#a5ef24d74bc029e4a66dd456408103dde">shark::KernelMatrix&lt; InputType, CacheType &gt;::x</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="ac3cfe068368969d7cdc5a84e64edf416" name="ac3cfe068368969d7cdc5a84e64edf416"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac3cfe068368969d7cdc5a84e64edf416">&#9670;&#160;</a></span>entry()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> , class CacheType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classshark_1_1_kernel_matrix.html#ac4a1b86d81dc86652e3226b7d0a79f55">QpFloatType</a> <a class="el" href="classshark_1_1_kernel_matrix.html">shark::KernelMatrix</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, CacheType &gt;::entry </td>
          <td>(</td>
          <td class="paramtype">std::size_t&#160;</td>
          <td class="paramname"><em>i</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::size_t&#160;</td>
          <td class="paramname"><em>j</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>return a single matrix entry </p>

<p class="definition">Definition at line <a class="el" href="_kernel_matrix_8h_source.html#l00098">98</a> of file <a class="el" href="_kernel_matrix_8h_source.html">KernelMatrix.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_abstract_kernel_function.html#abd10e3815efade90c7f9e2a7cc8bcb6c">shark::AbstractKernelFunction&lt; InputTypeT &gt;::eval()</a>, <a class="el" href="classshark_1_1_kernel_matrix.html#a2dfb1fc5283492a93ff13de7109300e2">shark::KernelMatrix&lt; InputType, CacheType &gt;::kernel</a>, <a class="el" href="classshark_1_1_kernel_matrix.html#ad16c20b5f5548be63756ff22c3d33926">shark::KernelMatrix&lt; InputType, CacheType &gt;::m_accessCounter</a>, and <a class="el" href="classshark_1_1_kernel_matrix.html#a5ef24d74bc029e4a66dd456408103dde">shark::KernelMatrix&lt; InputType, CacheType &gt;::x</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_kernel_matrix.html#af9ce0968195cf9ca49c7e77ba7c5d3c6">shark::KernelMatrix&lt; InputType, CacheType &gt;::operator()()</a>.</p>

</div>
</div>
<a id="a45ad0d3cc5b9ea58069eb93713289015" name="a45ad0d3cc5b9ea58069eb93713289015"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a45ad0d3cc5b9ea58069eb93713289015">&#9670;&#160;</a></span>flipColumnsAndRows()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> , class CacheType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classshark_1_1_kernel_matrix.html">shark::KernelMatrix</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, CacheType &gt;::flipColumnsAndRows </td>
          <td>(</td>
          <td class="paramtype">std::size_t&#160;</td>
          <td class="paramname"><em>i</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::size_t&#160;</td>
          <td class="paramname"><em>j</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>swap two variables </p>

<p class="definition">Definition at line <a class="el" href="_kernel_matrix_8h_source.html#l00127">127</a> of file <a class="el" href="_kernel_matrix_8h_source.html">KernelMatrix.h</a>.</p>

<p class="reference">References <a class="el" href="namespaceshark.html#a3fffe112e8e09ea8f41e4fb7113e93ee">shark::swap()</a>, and <a class="el" href="classshark_1_1_kernel_matrix.html#a5ef24d74bc029e4a66dd456408103dde">shark::KernelMatrix&lt; InputType, CacheType &gt;::x</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_modified_kernel_matrix.html#a34ef56ee51daad7e70d99b454c86636d">shark::ModifiedKernelMatrix&lt; InputType, CacheType &gt;::flipColumnsAndRows()</a>, and <a class="el" href="classshark_1_1_regularized_kernel_matrix.html#af31efdb92598b323f1f170bd869d56a8">shark::RegularizedKernelMatrix&lt; InputType, CacheType &gt;::flipColumnsAndRows()</a>.</p>

</div>
</div>
<a id="a834648ff97fe9d3269a8a821299026ee" name="a834648ff97fe9d3269a8a821299026ee"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a834648ff97fe9d3269a8a821299026ee">&#9670;&#160;</a></span>getAccessCount()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> , class CacheType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">unsigned long long <a class="el" href="classshark_1_1_kernel_matrix.html">shark::KernelMatrix</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, CacheType &gt;::getAccessCount </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>query the kernel access counter </p>

<p class="definition">Definition at line <a class="el" href="_kernel_matrix_8h_source.html#l00137">137</a> of file <a class="el" href="_kernel_matrix_8h_source.html">KernelMatrix.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_kernel_matrix.html#ad16c20b5f5548be63756ff22c3d33926">shark::KernelMatrix&lt; InputType, CacheType &gt;::m_accessCounter</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_modified_kernel_matrix.html#abaf647324d99f1b8f365cdf1ffd111dd">shark::ModifiedKernelMatrix&lt; InputType, CacheType &gt;::getAccessCount()</a>, <a class="el" href="classshark_1_1_regularized_kernel_matrix.html#ae18e8a97284551effcabcbf2a4bac945">shark::RegularizedKernelMatrix&lt; InputType, CacheType &gt;::getAccessCount()</a>, and <a class="el" href="classshark_1_1_one_class_svm_trainer.html#afee764d431c31a7cdf28306ab5c197f7">shark::OneClassSvmTrainer&lt; InputType, CacheType &gt;::trainSVM()</a>.</p>

</div>
</div>
<a id="ad5365d1a9d11ca1175b6bb35607db6d1" name="ad5365d1a9d11ca1175b6bb35607db6d1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad5365d1a9d11ca1175b6bb35607db6d1">&#9670;&#160;</a></span>matrix()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> , class CacheType &gt; </div>
<div class="memtemplate">
template&lt;class M &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classshark_1_1_kernel_matrix.html">shark::KernelMatrix</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, CacheType &gt;::matrix </td>
          <td>(</td>
          <td class="paramtype">blas::matrix_expression&lt; M, blas::cpu_tag &gt; &amp;&#160;</td>
          <td class="paramname"><em>storage</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Computes the kernel-matrix. </p>

<p class="definition">Definition at line <a class="el" href="_kernel_matrix_8h_source.html#l00120">120</a> of file <a class="el" href="_kernel_matrix_8h_source.html">KernelMatrix.h</a>.</p>

<p class="reference">References <a class="el" href="group__kernels.html#ga3eaca71bfc1467b79c9341dcfcad25c1">shark::calculateRegularizedKernelMatrix()</a>, <a class="el" href="classshark_1_1_kernel_matrix.html#a2dfb1fc5283492a93ff13de7109300e2">shark::KernelMatrix&lt; InputType, CacheType &gt;::kernel</a>, and <a class="el" href="classshark_1_1_kernel_matrix.html#a741a640e9f67a6c381c7d298b36ee1b0">shark::KernelMatrix&lt; InputType, CacheType &gt;::m_data</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_modified_kernel_matrix.html#a6b981a803575419cc9cc4d312191c170">shark::ModifiedKernelMatrix&lt; InputType, CacheType &gt;::matrix()</a>, and <a class="el" href="classshark_1_1_regularized_kernel_matrix.html#a831a5280628bf93c3725c0998b3e6a94">shark::RegularizedKernelMatrix&lt; InputType, CacheType &gt;::matrix()</a>.</p>

</div>
</div>
<a id="af9ce0968195cf9ca49c7e77ba7c5d3c6" name="af9ce0968195cf9ca49c7e77ba7c5d3c6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af9ce0968195cf9ca49c7e77ba7c5d3c6">&#9670;&#160;</a></span>operator()()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> , class CacheType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classshark_1_1_kernel_matrix.html#ac4a1b86d81dc86652e3226b7d0a79f55">QpFloatType</a> <a class="el" href="classshark_1_1_kernel_matrix.html">shark::KernelMatrix</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, CacheType &gt;::operator() </td>
          <td>(</td>
          <td class="paramtype">std::size_t&#160;</td>
          <td class="paramname"><em>i</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::size_t&#160;</td>
          <td class="paramname"><em>j</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>return a single matrix entry </p>

<p class="definition">Definition at line <a class="el" href="_kernel_matrix_8h_source.html#l00094">94</a> of file <a class="el" href="_kernel_matrix_8h_source.html">KernelMatrix.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_kernel_matrix.html#ac3cfe068368969d7cdc5a84e64edf416">shark::KernelMatrix&lt; InputType, CacheType &gt;::entry()</a>.</p>

</div>
</div>
<a id="ad76f1daf43dd80689ad630cab48a111a" name="ad76f1daf43dd80689ad630cab48a111a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad76f1daf43dd80689ad630cab48a111a">&#9670;&#160;</a></span>resetAccessCount()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> , class CacheType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classshark_1_1_kernel_matrix.html">shark::KernelMatrix</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, CacheType &gt;::resetAccessCount </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>reset the kernel access counter </p>

<p class="definition">Definition at line <a class="el" href="_kernel_matrix_8h_source.html#l00141">141</a> of file <a class="el" href="_kernel_matrix_8h_source.html">KernelMatrix.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_kernel_matrix.html#ad16c20b5f5548be63756ff22c3d33926">shark::KernelMatrix&lt; InputType, CacheType &gt;::m_accessCounter</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_modified_kernel_matrix.html#abfbd7330e1e5bb8c783f82adcf91d715">shark::ModifiedKernelMatrix&lt; InputType, CacheType &gt;::resetAccessCount()</a>, and <a class="el" href="classshark_1_1_regularized_kernel_matrix.html#a5b05f90e9cab384c7a217a6d3e16550b">shark::RegularizedKernelMatrix&lt; InputType, CacheType &gt;::resetAccessCount()</a>.</p>

</div>
</div>
<a id="a3ebcd91ea57f440376d14741e7697c6d" name="a3ebcd91ea57f440376d14741e7697c6d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3ebcd91ea57f440376d14741e7697c6d">&#9670;&#160;</a></span>row()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> , class CacheType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classshark_1_1_kernel_matrix.html">shark::KernelMatrix</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, CacheType &gt;::row </td>
          <td>(</td>
          <td class="paramtype">std::size_t&#160;</td>
          <td class="paramname"><em>i</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::size_t&#160;</td>
          <td class="paramname"><em>start</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::size_t&#160;</td>
          <td class="paramname"><em>end</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classshark_1_1_kernel_matrix.html#ac4a1b86d81dc86652e3226b7d0a79f55">QpFloatType</a> *&#160;</td>
          <td class="paramname"><em>storage</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Computes the i-th row of the kernel matrix. </p>
<p>The entries start,...,end of the i-th row are computed and stored in storage. There must be enough room for this operation preallocated. </p>

<p class="definition">Definition at line <a class="el" href="_kernel_matrix_8h_source.html#l00108">108</a> of file <a class="el" href="_kernel_matrix_8h_source.html">KernelMatrix.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_abstract_kernel_function.html#abd10e3815efade90c7f9e2a7cc8bcb6c">shark::AbstractKernelFunction&lt; InputTypeT &gt;::eval()</a>, <a class="el" href="classshark_1_1_kernel_matrix.html#a2dfb1fc5283492a93ff13de7109300e2">shark::KernelMatrix&lt; InputType, CacheType &gt;::kernel</a>, <a class="el" href="classshark_1_1_kernel_matrix.html#ad16c20b5f5548be63756ff22c3d33926">shark::KernelMatrix&lt; InputType, CacheType &gt;::m_accessCounter</a>, <a class="el" href="_open_m_p_8h.html#a8a63d79e2c3625260e6092d933f21a98">SHARK_PARALLEL_FOR</a>, and <a class="el" href="classshark_1_1_kernel_matrix.html#a5ef24d74bc029e4a66dd456408103dde">shark::KernelMatrix&lt; InputType, CacheType &gt;::x</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_modified_kernel_matrix.html#a4c911a252144076bd39e5aad62e37475">shark::ModifiedKernelMatrix&lt; InputType, CacheType &gt;::row()</a>, and <a class="el" href="classshark_1_1_regularized_kernel_matrix.html#a4c6ca54b0374328f55954e902b88321d">shark::RegularizedKernelMatrix&lt; InputType, CacheType &gt;::row()</a>.</p>

</div>
</div>
<a id="ad2bb6df532f1e6aa39fa30f6efad5222" name="ad2bb6df532f1e6aa39fa30f6efad5222"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad2bb6df532f1e6aa39fa30f6efad5222">&#9670;&#160;</a></span>size()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> , class CacheType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::size_t <a class="el" href="classshark_1_1_kernel_matrix.html">shark::KernelMatrix</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, CacheType &gt;::size </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>return the size of the quadratic matrix </p>

<p class="definition">Definition at line <a class="el" href="_kernel_matrix_8h_source.html#l00133">133</a> of file <a class="el" href="_kernel_matrix_8h_source.html">KernelMatrix.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_kernel_matrix.html#a5ef24d74bc029e4a66dd456408103dde">shark::KernelMatrix&lt; InputType, CacheType &gt;::x</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_modified_kernel_matrix.html#a6021c2af8651dbcd2e3a785f2b5b42f0">shark::ModifiedKernelMatrix&lt; InputType, CacheType &gt;::size()</a>, and <a class="el" href="classshark_1_1_regularized_kernel_matrix.html#ad45561456f338f3e1d21495030a49d5e">shark::RegularizedKernelMatrix&lt; InputType, CacheType &gt;::size()</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a2dfb1fc5283492a93ff13de7109300e2" name="a2dfb1fc5283492a93ff13de7109300e2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2dfb1fc5283492a93ff13de7109300e2">&#9670;&#160;</a></span>kernel</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> , class CacheType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classshark_1_1_abstract_kernel_function.html">AbstractKernelFunction</a>&lt;<a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>&gt;&amp; <a class="el" href="classshark_1_1_kernel_matrix.html">shark::KernelMatrix</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, CacheType &gt;::kernel</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Kernel function defining the kernel Gram matrix. </p>

<p class="definition">Definition at line <a class="el" href="_kernel_matrix_8h_source.html#l00146">146</a> of file <a class="el" href="_kernel_matrix_8h_source.html">KernelMatrix.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_kernel_matrix.html#ac3cfe068368969d7cdc5a84e64edf416">shark::KernelMatrix&lt; InputType, CacheType &gt;::entry()</a>, <a class="el" href="classshark_1_1_kernel_matrix.html#ad5365d1a9d11ca1175b6bb35607db6d1">shark::KernelMatrix&lt; InputType, CacheType &gt;::matrix()</a>, and <a class="el" href="classshark_1_1_kernel_matrix.html#a3ebcd91ea57f440376d14741e7697c6d">shark::KernelMatrix&lt; InputType, CacheType &gt;::row()</a>.</p>

</div>
</div>
<a id="ad16c20b5f5548be63756ff22c3d33926" name="ad16c20b5f5548be63756ff22c3d33926"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad16c20b5f5548be63756ff22c3d33926">&#9670;&#160;</a></span>m_accessCounter</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> , class CacheType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">unsigned long long <a class="el" href="classshark_1_1_kernel_matrix.html">shark::KernelMatrix</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, CacheType &gt;::m_accessCounter</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">mutable</span><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>counter for the kernel accesses </p>

<p class="definition">Definition at line <a class="el" href="_kernel_matrix_8h_source.html#l00155">155</a> of file <a class="el" href="_kernel_matrix_8h_source.html">KernelMatrix.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_kernel_matrix.html#ac3cfe068368969d7cdc5a84e64edf416">shark::KernelMatrix&lt; InputType, CacheType &gt;::entry()</a>, <a class="el" href="classshark_1_1_kernel_matrix.html#a834648ff97fe9d3269a8a821299026ee">shark::KernelMatrix&lt; InputType, CacheType &gt;::getAccessCount()</a>, <a class="el" href="classshark_1_1_kernel_matrix.html#ad76f1daf43dd80689ad630cab48a111a">shark::KernelMatrix&lt; InputType, CacheType &gt;::resetAccessCount()</a>, and <a class="el" href="classshark_1_1_kernel_matrix.html#a3ebcd91ea57f440376d14741e7697c6d">shark::KernelMatrix&lt; InputType, CacheType &gt;::row()</a>.</p>

</div>
</div>
<a id="a741a640e9f67a6c381c7d298b36ee1b0" name="a741a640e9f67a6c381c7d298b36ee1b0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a741a640e9f67a6c381c7d298b36ee1b0">&#9670;&#160;</a></span>m_data</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> , class CacheType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classshark_1_1_data.html">Data</a>&lt;<a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>&gt; <a class="el" href="classshark_1_1_kernel_matrix.html">shark::KernelMatrix</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, CacheType &gt;::m_data</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_kernel_matrix_8h_source.html#l00148">148</a> of file <a class="el" href="_kernel_matrix_8h_source.html">KernelMatrix.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_kernel_matrix.html#aa486dd918e3c6d34246eeacd348cba93">shark::KernelMatrix&lt; InputType, CacheType &gt;::KernelMatrix()</a>, and <a class="el" href="classshark_1_1_kernel_matrix.html#ad5365d1a9d11ca1175b6bb35607db6d1">shark::KernelMatrix&lt; InputType, CacheType &gt;::matrix()</a>.</p>

</div>
</div>
<a id="a5ef24d74bc029e4a66dd456408103dde" name="a5ef24d74bc029e4a66dd456408103dde"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5ef24d74bc029e4a66dd456408103dde">&#9670;&#160;</a></span>x</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> , class CacheType &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::vector&lt;<a class="el" href="classshark_1_1_kernel_matrix.html#ab4e409d88bff0f586ad51d92b04efc24">PointerType</a>&gt; <a class="el" href="classshark_1_1_kernel_matrix.html">shark::KernelMatrix</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, CacheType &gt;::x</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Array of data pointers for kernel evaluations. </p>

<p class="definition">Definition at line <a class="el" href="_kernel_matrix_8h_source.html#l00152">152</a> of file <a class="el" href="_kernel_matrix_8h_source.html">KernelMatrix.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_kernel_matrix.html#ac3cfe068368969d7cdc5a84e64edf416">shark::KernelMatrix&lt; InputType, CacheType &gt;::entry()</a>, <a class="el" href="classshark_1_1_kernel_matrix.html#a45ad0d3cc5b9ea58069eb93713289015">shark::KernelMatrix&lt; InputType, CacheType &gt;::flipColumnsAndRows()</a>, <a class="el" href="classshark_1_1_kernel_matrix.html#aa486dd918e3c6d34246eeacd348cba93">shark::KernelMatrix&lt; InputType, CacheType &gt;::KernelMatrix()</a>, <a class="el" href="classshark_1_1_kernel_matrix.html#a3ebcd91ea57f440376d14741e7697c6d">shark::KernelMatrix&lt; InputType, CacheType &gt;::row()</a>, and <a class="el" href="classshark_1_1_kernel_matrix.html#ad2bb6df532f1e6aa39fa30f6efad5222">shark::KernelMatrix&lt; InputType, CacheType &gt;::size()</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>include/shark/LinAlg/<a class="el" href="_kernel_matrix_8h_source.html">KernelMatrix.h</a></li>
</ul>
</div><!-- contents -->
</div>
</body>
</html>
